package cn.edu.stu.syllabus.repository.library;

import java.util.List;

import cn.edu.stu.syllabus.repository.library.local.BookEntry;
import rx.Observable;

/**
 * Created by daidaijie on 2017/3/14.
 */

public interface BookStarDataSource {

    void starBookEntry(BookEntry bookEntry);

    void unstarBookEntry(BookEntry bookEntry);

    boolean isExistEntry(BookEntry bookEntry);

    Observable<List<BookEntry>> getStarBookEntries(long lastPosition, int pageNum);
}
